define([
    "iframeResizerContentWindow", "bootstrap"
], function (iframeResizerContentWindow, bootstrap) {
    'use strict';

    function topShowModal() {
        if ('parentIFrame' in window) {
            parentIFrame.sendMessage('showModal');
        }
    }

    function topHideModal() {
        if ('parentIFrame' in window) {
            parentIFrame.sendMessage('hideModal');
        }

    }

    return {
        showModal: topShowModal,
        hideMoadl: topHideModal
    }


});